#include <iostream>
#include <thread>
#include <chrono>
#include <atomic>

namespace NahidaProject {
	class __declspec(dllexport) TaskTimer {
		std::atomic<bool> active{ true };

	public:
		void SetTimeout(auto function, int delay);
		void SetInterval(auto function, int interval);
		void Stop();

	};
}
